package com.peanut.linggongwuyou.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotBlank;
import lombok.Data;



@Data
public class ApplyInvoiceRequestDTO  implements Serializable {

    private static final long serialVersionUID = -1L;
    /**--------- 以下为必填—————————————**/
    /**
     * 客户批次号
     **/

    /**
     * 商户订单号
     **/

    @JsonSerialize(using = ToStringSerializer.class)
    private List<Long> orderNoList;

    private String invoiceTypeId;
    @NotBlank(message = "开票方式不可为空")

    private String invoiceApplyType;
    /**
     *
     * 发票类型BillTypeEnum:SPECIAL-专票,PLAIN-普票
     */
    @ApiModelProperty(value = "发票类型")
    @NotBlank(message = "申请发票类型不可为空")
    @JsonSerialize(using = ToStringSerializer.class)
    private String invoiceType;

    private String remark;

    private Long providerId;

}
